package com.demo.celue;

public class CashRebate extends CashSuper{

	private double moneyRebate;
	
	public CashRebate(double _moneyRebate){
		this.moneyRebate=_moneyRebate;
	}
	
	@Override
	public double acceptCash(double money) {
		return money*moneyRebate;
	}

}
